package com.night.annotation;

import java.lang.annotation.*;

/**
 * @Author: chen yang
 * @Date: 11/12/2024 9:24 PM
 */
@Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Autowired {

    /**
     * Is required.
     */
    boolean value() default true;

    /**
     * Bean name if set.
     */
    String name() default "";
}
